package com.qiaofang.collectmanage.base.configuration;

/**
 * @Author:   yi.li
 */

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "collectmanage")
public class CollectManageConfiguration {

    private CollectManageConfiguration(){}

    private static String proxyIpListByUrl;

    private static String metricsTsdbUrl;


    public static String getProxyIpListByUrl() {
        return proxyIpListByUrl;
    }

    public static void setProxyIpListByUrl(String proxyIpListByUrl) {
        CollectManageConfiguration.proxyIpListByUrl = proxyIpListByUrl;
    }

    public static String getMetricsTsdbUrl() {
        return metricsTsdbUrl;
    }

    public static void setMetricsTsdbUrl(String metricsTsdbUrl) {
        CollectManageConfiguration.metricsTsdbUrl = metricsTsdbUrl;
    }
}
